<?php
$loader = require ROOTPATH . '/vendor/autoload.php';
$loader->setPsr4('App\\', ROOTPATH . '/apps');

// Yef App
$app = new Yef\App();
$app['loader'] = $loader;
/** 路由规则 */
require __DIR__ . '/route.php';

echo $app->run($_SERVER['REQUEST_METHOD']);
